package com.db.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class PageController {

	@RequestMapping("doIndexUI")
	public String doIndexUI() {
		return "starter";
	}

	/*
	 * @RequestMapping("log/log_list") public String doLogUI() { return
	 * "sys/log_list"; }
	 */

	@RequestMapping("{moudle}/{moudleUI}")
	public String doMoudleUI(@PathVariable String moudleUI) {
		return "sys/" + moudleUI;
	}

	@RequestMapping("doPageUI")
	public String doPageUI() {
		return "common/page";
	}
	
	@RequestMapping("doLoginUI")
	 public String doLoginUI() {
		 return "login";
	 }
}
